import { defineStore } from 'pinia';
export const useSpinningStore = defineStore('spinning', {
  state: () => {
    return {
      visible: false,
    };
  },
  getters: {
    getSpinningVisible(state) {
      return state.visible;
    },
  },
  actions: {
    setSpinningVisible(visible: boolean) {
      this.visible = visible;
    },
  },
});
